﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ComLib.Web.Lib.Models;
using System.Reflection;


namespace ComLib.CMS.Controllers
{
    [HandleError]
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            ViewData["Message"] = "Welcome to ASP.NET MVC 2 App Template - Using CommonLibrary.NET!";

            return View();
        }

        /*
       [AcceptVerbs(HttpVerbs.Get)]
       public ViewResult Create()
       {
           return View("Create", new Conference());
       }


       
       [AcceptVerbs(HttpVerbs.Post)]
       public ViewResult Save()
       {
           IConference c = new Conference();
           UpdateModel(c);
           MapperSupport.MapperWebForms.UpdateModel(c, this.Request.Form, "", null);
           return View("Details", c);
       }


       [AcceptVerbs(HttpVerbs.Post)]
       public ViewResult Update(IConference c)
       {
           //Conference c = new Conference();
           //UpdateModel(c);
           return View("Details", c);
       }
         */
    }
}
